package com.ku.service;


import com.ku.constants.OrderStatus;
import com.ku.entity.Order;

/**
 * @program: rocketMQKill
 * @description:
 * @author: JokerKu
 * @create: 2020-05-04 16:57
 **/
public interface OrderService {

    String test(String name);

    boolean createOrder(String cityId, String platformId, String userId, String supplierId, String goodsId);

    String selectOrderStatus(String orderId);

    int updateOrderStatus(String orderId, OrderStatus orderPayed);

    void sendOrderlyMessageForPkg(String userId, String orderId);
}
